import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//创建对话
export const newConversationService = (classID, chapterID) => {
    console.log(classID, chapterID)
    let tokenStore = useTokenStore()
    console.log(tokenStore.token.token)
    const headers = {
        token: tokenStore.token.token
    }
    const data ={
        "classID":classID,
        "chapterID":chapterID
    }
    return request.post('/student/createconversation',data,{headers});
    // return {
    //     'data':
    //         { 'conversationID': 33554 }
    // }
}